#pragma once
#include "GLDrawable.h"
class GLIconRender : public GLDrawable
{
	using Super = GLDrawable;

public:
	using Super::Super;

public:
	void					 initVAO();
	void					 updateData();
	void					 paint(QOpenGLShaderProgram* program, const QMatrix4x4& mvpMat);
	const RenderDataTexture& renderData() const
	{
		return mRenderDataIcon;
	}
	RenderDataTexture& renderData()
	{
		return mRenderDataIcon;
	}

private:
	RenderDataTexture mRenderDataIcon;
};
